﻿<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>@ViewBag.Title - FCNS.ERP</title>
    @FastReport.Web.WebReportGlobals.ScriptsWOjQuery()
    @FastReport.Web.WebReportGlobals.StylesWOjQuery()
    @Styles.Render("~/Content/css")
    @Scripts.Render("~/bundles/modernizr")
    @Scripts.Render("~/bundles/jquery")
    @Scripts.Render("~/bundles/bootstrap")
    <link href="~/Content/Combo/combo.select.css" rel="stylesheet" />
    <script src="~/Scripts/Combo/jquery.combo.select.js"></script>
    @RenderSection("scripts", required: false)
    <script type="text/javascript">
        $(document).ready(function () {
            $("#CorSId").comboSelect(); 
        });
    </script> 
</head>
<body>
    <div class="navbar navbar-inverse navbar-fixed-top">
        <div class="container">
            <div class="navbar-header">
                <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
            </div>
            <div class="navbar-collapse collapse" id="ERP_TopMenu">
                @Html.Raw(ViewData["TopMenuList"])
            </div>
        </div>
    </div>
    <div class="form-inline" style="padding:10px;">
        <div class="row">
            <div class="col-sm-4">
                筛选:
                <select class="form-control" id="SearchFlag" name="SearchFlag">
                    <option value="0">按客商查询</option>
                    <option value="1">按用户查询</option>
                </select>
            </div>
        
            <div class="col-sm-4">
                用户:
                @Html.DropDownList("UserId", ViewData["User"] as SelectList, htmlAttributes: new { @class = "form-control" })
            </div>
      
            <div class="col-sm-4">
                <div class="input-group">
                    <div class="input-group-addon">客商:</div>
                    @Html.DropDownList("CorSId", ViewData["CorS"] as SelectList, htmlAttributes: new { @class = "form-control" }) 
                </div>  
            </div> 
            </div>

        <div class="row">
            <div class="col-sm-4">
                日期:
                <div class="form-group">
                    <input type="date" id="StartDate" class="form-control" />
                </div>
                -
                <div class="form-group">
                    <input type="date" id="EndDate" class="form-control" />
                </div>
            </div>
            <div class="col-sm-4">
                @RenderSection("SubMenu1", false)
            </div>
            <div class="col-sm-4">
                @RenderSection("SubMenu2", false)
            </div>

        </div>
        <p></p>
        <div class="row">
            <div class="col-sm-12">
                <input type="button" value="查询" class="btn btn-default" id="loadDataFromServer" /><p></p>
            </div>
        </div>
        <hr />
        <div id="tableDetail" style="text-align:center;"></div>
        @RenderBody()
    </div> 
</body>

</html>
